home *** CD-ROM | disk | FTP | other *** search
- Path: news.lpr.carel.fi!usenet
- From: Ari Lukumies <aril@cmt.lpr.mail.carel.fi>
- Newsgroups: comp.lang.c++
- Subject: Re: MS's advice on new 16-bit apps? and Win32s
- Date: Thu, 01 Feb 1996 12:31:00 +0200
- Organization: Carelcomp Forest
- Message-ID: <31109664.79C9@cmt.lpr.mail.carel.fi>
- References: <310FA864.63C4@fsg.com>
- NNTP-Posting-Host: renoir.cclahti.carel.fi
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0b6a (WinNT; I)
-
- kenk@fsg.com wrote:
- >
- > does anyone know what Microsoft's philosophy or advice is on
- > developing new 16-bit applications?
-
- MS's advice is: don't write 16-bit applications, do write 32-bit applications.
- >
- > Basically my situation is this: we want to develop an application
- > using VC++ 4.0 and want have the option of running it using VC++ 1.52.
- > I know that Win32s is supposed to let me accomplish this (with some
- > limitations, although this is not a very complex application and
- > i don't think this will effect it).
- > MSVC++ 1.52 is a 16-bit system and as such cannot run Win32s programs (which are 32-bit
- programs running on a 32-bit API subset on top of Win3x). MSVC4 is targeted to 32-bit
- apps only; you cannot create 16-bit apps using it. Of course, if your source is portable
- (doesn't use any far/near pointers [used only in Win16], uses <windowsx.h> cracker
- macros etc.) between 16-bit and 32-bit worlds, you can build one version using MSVC1.52
- (16-bit) and one usign MSVC4. Of course, you cannot use any of the new constructs of
- MSVC4 (such as name spaces), because they're not supported by MSVC1x.
- > So,
- > is the above the preferred method and is it encouraged by
- > Microsoft to develop *all new* applications using 32-bit.
- >
-
- MS says that all new apps should be targeted to Win95/WinNT and be 32 bit.
- > And,
- > I would appreciate any feedback (caveats, advice) on using
- > VC++ 4.0 applications and running it under VC++ 1.52 using WIn32s.
- > As said above, that can't be done. You _can_ run them with Win32s on Win3x. However, I'd
- found out that Win32s will run on some systems, and not run on some others and sometimes
- there seem to be no apparent reason at all. (As a matter of fact, in one machine I tried
- it, it didn't run, but in a similar machine next to it, everything went fine...) I guess
- it depends on the phase of moon, the tide, amount of solar flares or something like
- that... :(
-
- I'd suggest abandoning the whole Win3x and moving to Win95/NT.
-
- > thanks
-
- You're welcome.
-
- Later,
- AriL
- --
- All my opinions are mine and mine alone.
-